package com.youngjun.user.pojo.dto;

import com.youngjun.common.pojo.dto.support.BaseDTO;

public class RegionDTO extends BaseDTO<RegionDTO> {

    private Long id;

    private String name;

    private Long parentId;

    private Boolean isLeaf;

    public Long getId() {
        return id;
    }

    public RegionDTO setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public RegionDTO setName(String name) {
        this.name = name;
        return this;
    }

    public Long getParentId() {
        return parentId;
    }

    public RegionDTO setParentId(Long parentId) {
        this.parentId = parentId;
        return this;
    }

    public Boolean getIsLeaf() {
        return isLeaf;
    }

    public RegionDTO setIsLeaf(Boolean isLeaf) {
        this.isLeaf = isLeaf;
        return this;
    }

}